package com.cskaoyan.demo5.mapper;

import com.cskaoyan.demo5.bean.PageParameter;
import com.cskaoyan.demo5.model.MarketUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MarketUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MarketUser record);

    int insertSelective(MarketUser record);

    MarketUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MarketUser record);

    int updateByPrimaryKey(MarketUser record);

    List<MarketUser> list(@Param("offset") int offset, @Param("limit") int limit, @Param("sort") String sort, @Param("order") String order);

    List<MarketUser> list2(PageParameter instance);
}